package com.ganbo.dingding.vo;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.List;

/**
 * 发送群消息
 *
 * @Author: ganbo
 * @Date: 2019/12/2 17:36
 */
@Data
public class SendGroupMessageReq {

    @NotBlank(message = "钉钉群code不能为空")
    private String code;

    @NotBlank(message = "消息内容不能为空")
    private String content;

    private List<String> atMobiles; //要at的号码

    private boolean atAll;    //是否at全部,本字段优先于atMobiles字段生效

}
